﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace WebAPI_DEMO.Models
{
    /// <summary>
    /// 统一返回类 泛型类
    /// </summary>
    public class ApiResult<T>
    {
        /// <summary>
        /// 
        /// </summary>
        public int Code { get; set; }

        public string Message { get; set; }

        //数据 类型不定  泛型
        public T Data { get; set; }
    }
}
